import Layout from '@/layout'

const authorityRouter = {
  path: '/authority',
  component: Layout,
  meta: {
    title: '权限',
    icon: 'documentation',
    affix: true
  },
   children: [
	   {
	     path: '/authority/staff',
	     component: () => import('@/views/authority/staff'),
	     name: 'staff',
	     meta: {
	       title: '员工管理',
	       icon: 'documentation',
	       affix: false
	     }
	   },
     {
       path: '/authority/role',
       component: () => import('@/views/authority/role'),
       name: 'role',
       meta: {
         title: '角色管理',
         icon: 'documentation',
         affix: false
       }
     },
     {
       path: '/authority/service',
       component: () => import('@/views/authority/service'),
       name: 'service',
       meta: {
         title: '客服管理',
         icon: 'documentation',
         affix: false
       }
     },
   ]
}
export default authorityRouter
